/*
  * This file is part of WhereYouGo.
  *
  * WhereYouGo is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation, either version 3 of the License, or
  * (at your option) any later version.
  *
  * WhereYouGo is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
  * along with WhereYouGo.  If not, see <http://www.gnu.org/licenses/>.
  *
  * Copyright (C) 2012 Menion <whereyougo@asamm.cz>
  */ 

package menion.android.whereyougo.hardware.location;

import java.util.ArrayList;

import locus.api.objects.extra.Location;

import android.os.Bundle;

/**
 * Interface for location changes
 * @author menion
 * @since 25.1.2010 2010
 */
public interface LocationEventListener {

	public static final int PRIORITY_LOW = 1;
	public static final int PRIORITY_MEDIUM = 2;
	public static final int PRIORITY_HIGH = 3;
	
	public void onLocationChanged(Location location);

    public void onStatusChanged(String provider, int state, Bundle extras);
    
    public void onGpsStatusChanged(int event, ArrayList<SatellitePosition> sats);
    
    public int getPriority();
    
    /** Is required when screen turn off */
    public boolean isRequired();
    
    public String getName();
}
